Skip to content

Conversation

natemort
Copy link
Member

What changed?
Set skipArchival to true for the async flows. This is done in the sync flows.

Why?

  • When a request comes for workflow history, if the workflow doesn't exist and skipArchival is set to false then it immediately returns a BadRequestError. This results in there being no retries whatsoever (since BadRequestError isn't retried).
  • When requests go to the passive region they won't immediately observe the workflow existing (due to replication delay), so these requests will always fail.

How did you test it?

Potential risks

Release notes

Documentation Changes

@natemort natemort merged commit 255ecfd into cadence-workflow:master Apr 11, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants